package com.iamteer.entity;
/**
 * 1. 菜品实体类设计
 * @author Chuck
 *
 */
public class Dish {
	private int id;				// INT PRIMARY KEY AUTO_INCREMENT,	-- 主键
	private String dName;		// VARCHAR(20),			-- 菜名
	private int category_id;	// INT,			-- 菜系
	private double price;		// DOUBLE,				-- 价格
	private double mprice;		// DOUBLE,				-- 会员价
	private String remark;		// VARCHAR(200),			-- 简介
	private String img;			// VARCHAR(100)			-- 图片链接
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getdName() {
		return dName;
	}
	public void setdName(String dName) {
		this.dName = dName;
	}
	public int getCategory_id() {
		return category_id;
	}
	public void setCategory_id(int category_id) {
		this.category_id = category_id;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getMprice() {
		return mprice;
	}
	public void setMprice(double mprice) {
		this.mprice = mprice;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	@Override
	public String toString() {
		return "Dish [id=" + id + ", dName=" + dName + ", category_id=" + category_id + ", price=" + price + ", mprice="
				+ mprice + ", remark=" + remark + ", img=" + img + "]";
	}
	
}
